import { LAYOUT } from '@/router/constant'
import type { RouteRecordRaw } from 'vue-router'

const deviceMaintenanceRoute: RouteRecordRaw = {
  path: '/device-maintenance',
  component: LAYOUT,
  meta: {
    noAuth: true
  },
  children: [
    {
      path: 'part',
      name: 'device-maintenance-project-part',
      meta: {
        title: '部件信息',
        noAuth: true
      },
      component: () => import('@/views/device-maintenance/PartHomeView.vue')
    },
    {
      path: 'pulping-progress',
      name: 'device-maintenance-project-pulping-progress',
      meta: {
        title: '搅拌进度',
        noAuth: true
      },
      component: () => import('@/views/device-maintenance/pulping-progress.vue')
    },
    {
      path: 'mixing-progress',
      name: 'device-maintenance-project-mixing-progress',
      meta: {
        title: '搅拌进度',
        noAuth: true
      },
      component: () => import('@/views/device-maintenance/mixing-progress.vue')
    }
  ]
}

export default deviceMaintenanceRoute
